package cn.ht.jywrwater.module.ht.convert.waterpipenet;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.waterpipenet.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.waterpipenet.WaterPipenetDO;

/**
 * 管网 Convert
 *
 * @author hzx
 */
@Mapper
public interface WaterPipenetConvert {

    WaterPipenetConvert INSTANCE = Mappers.getMapper(WaterPipenetConvert.class);

    WaterPipenetDO convert(WaterPipenetCreateReqVO bean);

    WaterPipenetDO convert(WaterPipenetUpdateReqVO bean);

    WaterPipenetRespVO convert(WaterPipenetDO bean);

    List<WaterPipenetRespVO> convertList(List<WaterPipenetDO> list);

    PageResult<WaterPipenetRespVO> convertPage(PageResult<WaterPipenetDO> page);

    List<WaterPipenetExcelVO> convertList02(List<WaterPipenetDO> list);

}
